package org.store.pojo;

/**
 * Order entity. @author MyEclipse Persistence Tools
 */

public class Order implements java.io.Serializable {

	// Fields

	private Integer id;
	private String date;
	private Double price;
	private Integer usr;

	// Constructors

	/** default constructor */
	public Order() {
	}

	/** full constructor */
	public Order(String date, Double price, Integer usr) {
		this.date = date;
		this.price = price;
		this.usr = usr;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDate() {
		return this.date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getUsr() {
		return this.usr;
	}

	public void setUsr(Integer usr) {
		this.usr = usr;
	}

}